import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Vant from "vant"

import 'vant/lib/index.css'
Vue.use(Vant)
//图片基础路径
import { baseURL } from './assets/js/config'
Vue.prototype.baseURL = baseURL


// 引入封装好的axios
import axios from './axios.js'
Vue.prototype.$axios = axios;


Vue.prototype.baseURL = baseURL;

import Avatar from './components/Avatar.vue'
Vue.component('my-avatar', Avatar)

Vue.config.productionTip = false


import Pop from './components/Pop.vue'
Vue.component('lpk-pop', Pop)

import Fanlb from './components/Fanlb.vue'
Vue.component('lpk-fan', Fanlb)

import Lpkcard from './components/Lpkcard.vue'
Vue.component('lpk-card', Lpkcard)

import Counter from './components/Counter.vue'
Vue.component('counter', Counter)

import Zjjg from './components/Zjjg.vue'
Vue.component('lpk-zjjg', Zjjg)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
